using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace SimpleFramework
{
    public class HotupRestartState : HotupState
    {
        public HotupRestartState(HotupContext context) : base(context)
        {
        }

        public override void OnEnter()
        {
            Debug.Log("HotupRestartState.OnEnter");

#if UNITY_EDITOR
            m_Context.Complete.Invoke(null);
#else
            Application.Quit();
#endif
        }
    }
}